package com.clz.hyperit.dao;

import java.util.List;

import com.clz.hyperit.entity.Article;
import com.clz.hyperit.entity.Question;
import com.clz.hyperit.vo.PageInfo;

public interface QuestionDao extends BaseDao<Question>{
	//根据userdetail_id查找问题
	List<Question> findByuserdetail_id(PageInfo pageInfo, Integer userdetail_id);

	List<Question> findQuestionByAccept_accept(PageInfo pageInfo);

	List<Question> findQuestionByAccept_notaccept(PageInfo pageInfo);

	List<Question> getQuestionByAnswer(PageInfo pageInfo);

	List<Question> getQuestionByRead(PageInfo pageInfo);

	List<Question> SearchQuestion(PageInfo pageInfo, String search);

}
